package hcn.cmc.bean.request;


import hcn.protocol.base.hisPlateform.MsgHeaderRequest;

import javax.xml.bind.annotation.*;
import java.util.List;

@XmlRootElement(name = "BSXml")
@XmlAccessorType(XmlAccessType.FIELD)
public class PushTreatmentStatusRequest {
    private MsgHeaderRequest MsgHeader;
    private MsgBody MsgBody;


    public MsgHeaderRequest getMsgHeader() {
        return MsgHeader;
    }

    public void setMsgHeader(MsgHeaderRequest msgHeader) {
        MsgHeader = msgHeader;
    }

    public MsgBody getMsgBody() {
        return MsgBody;
    }

    public void setMsgBody(MsgBody msgBody) {
        MsgBody = msgBody;
    }

    @XmlRootElement(name = "MsgBody")
    @XmlAccessorType(XmlAccessType.FIELD)
    public static class MsgBody{

        @XmlElementWrapper(name = "ExmRequests")
        @XmlElement(name = "ExmRequest")
       private List<ExmRequest> ExmRequests;

        public MsgBody() { }

        public List<ExmRequest> getExmRequests() {
            return ExmRequests;
        }

        public void setExmRequests(List<ExmRequest> exmRequests) {
            ExmRequests = exmRequests;
        }

        @XmlAccessorType(XmlAccessType.FIELD)
        public static class ExmRequest{

            private String VisitOrganization;
            private String RequestId;
            private String OperatingDateTime;
            private String OperatingNumber;
            private String OperatingName;
            private String ExecutiveDeptCode;
            private String ExecutiveDeptName;
            private String TreatStatusCode;

            public ExmRequest() {
            }

            public String getVisitOrganization() {
                return VisitOrganization;
            }

            public void setVisitOrganization(String visitOrganization) {
                VisitOrganization = visitOrganization;
            }

            public String getRequestId() {
                return RequestId;
            }

            public void setRequestId(String requestId) {
                RequestId = requestId;
            }

            public String getOperatingDateTime() {
                return OperatingDateTime;
            }

            public void setOperatingDateTime(String operatingDateTime) {
                OperatingDateTime = operatingDateTime;
            }

            public String getOperatingNumber() {
                return OperatingNumber;
            }

            public void setOperatingNumber(String operatingNumber) {
                OperatingNumber = operatingNumber;
            }

            public String getOperatingName() {
                return OperatingName;
            }

            public void setOperatingName(String operatingName) {
                OperatingName = operatingName;
            }

            public String getExecutiveDeptCode() {
                return ExecutiveDeptCode;
            }

            public void setExecutiveDeptCode(String executiveDeptCode) {
                ExecutiveDeptCode = executiveDeptCode;
            }

            public String getExecutiveDeptName() {
                return ExecutiveDeptName;
            }

            public void setExecutiveDeptName(String executiveDeptName) {
                ExecutiveDeptName = executiveDeptName;
            }

            public String getTreatStatusCode() {
                return TreatStatusCode;
            }

            public void setTreatStatusCode(String treatStatusCode) {
                TreatStatusCode = treatStatusCode;
            }
        }

    }
}